﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace Platformer
{
    public class GameButton
    {
        public Image image;
        public int x, y;
        public int w, h;

        public GameButton(Image image)
        {
            this.image = image;
            this.w = image.Width;
            this.h = image.Height;
        }

        public void Draw(int x, int y, Graphics g)
        {
            this.x = x;
            this.y = y;
            g.DrawImage(image, x, y);
        }
    }
}
